﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoPartsSearch.Domain.Entities;

namespace AutoPartsSearch.Domain.Abstract.Repositories
{
    public interface ISellerRepository : IBaseRepository<Seller>
    {
        IEnumerable<Seller> GetBySearchQuery(SearchQuery searchQuery);

        Seller GetByCode(Guid code);

        Seller GetByCompanyName(string companyName);

        void Block(int id, bool block);

        void Quote(int id, bool enable);

        void UpdateExpiredDate(int id, DateTime date);

        IEnumerable<ExtendedSeller> GetExtendedSellers(int page, int pageSize);
    }
}
